CC=msp430-gcc
CFLAGS=-Os -Wall -g -mmcu=msp430g2452
IFLAGS=-I../include/

OBJS=pwm.o sample.o heater.o ui.o

all: $(OBJS)

%.o: %.c
	$(CC) $(IFLAGS) $(CFLAGS) -c $<

clean:
	rm -f $(OBJS)
